package com.foreknow.demo2;

public class Test {
    public static void main(String[] args) {
        int cartNumber = (int) (Math.random()*(9999-1000))+1000;
        System.out.println(cartNumber);
    }
}
